<!DOCTYPE html>
<html>
<head>
     <title>无限极分类</title>
          <link rel="stylesheet" type="text/css" href="/css/bootstrap.css" media="screen">
</head>
<body>
<div class="mws-panel-body no-padding">
     <form class="mws-form" action="/sj/cr">
          <div class="mws-form-inline">
               <div class="mws-form-row">
                    <label class="mws-form-label">添加的区域</label>
                    <div class="mws-form-item">
                         <input type="text" name="area">
                    </div>
               </div>
               <div class="mws-form-row">
                    <label class="mws-form-label">区域</label>
                    <div class="mws-form-item">
                         <select class="small" name="pid">
                              <option>请选择</option>
                         @foreach($data as $value)
                              <option value="{{$value -> id}}">{{'|'.str_repeat('---',$value -> lev).$value->area}}</option>
                         @endforeach
                         </select>
                    </div>
               </div>
          </div>
          <div class="mws-button-row">
               <input type="submit" value="提交" class="btn btn-danger">
               <input type="reset" value="重置" class="btn ">
          </div>
     </form>
</div>

</body>
</html>
